package com.kong.config.db;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * <dl>
 * <dd>Description: 测试刷新配置信息</dd>
 * <dd>Company: 大诚若谷信息技术有限公司</dd>
 * <dd>@date：2017/6/15 11:12</dd>
 * <dd>@author：Kong</dd>
 * </dl>
 */
@RefreshScope
@Component
public class TestRefreshConfig {

    @Value("${from}")
    private String from;

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }
}
